﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// The update request contained values out of range or too large for 
	/// the field being updated. See the additional message information as 
	/// to what caused the validation failure.
	/// </summary>
	public class ValidationError : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.ValidationError class.
		/// </summary>
		public ValidationError(Exception innerException)
			: base(7, innerException, "The update request contained values out of range or too large for the field being updated. See the additional message information as to what caused the validation failure.")
		{
		}
	}
}
